package com.app.demo.enums;

import com.app.core.mvc.serialization.EnumDefinition;

/**
 * @author qiangt
 */
public enum LogModule implements EnumDefinition {
    /**
     * 1-申请
     */
    USER(Type.USER, "用户模块"),
    ;

    private final String code;
    private final String comment;

    LogModule(final String code, final String comment) {
        this.code = code;
        this.comment = comment;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getComment() {
        return this.comment;
    }

    public interface Type {
        /**
         * 1-申请
         */
        String USER = "User";

    }

}
